package br.eng.megaprojetos.model;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import br.com.vexillum.model.EntityBasic;
import br.eng.megaprojetos.model.interfaces.IPersistentEntity;

@SuppressWarnings("serial")
@MappedSuperclass
public class BasicPersistentEntity extends EntityBasic implements IPersistentEntity {

	@Column(name="active", nullable=false, unique=false, updatable=true)
	protected Boolean active;

	public Boolean getActive() {
		return active;
	}

	public void setActive(Boolean active) {
		this.active = active;
	}

	public BasicPersistentEntity() {
		super();
		this.active = true;
	}
	
}
